package cn.com.eth.yx.ethpro;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;

@SpringBootApplication
public class EthproApplication extends SpringBootServletInitializer {

    public static void main(String[] args) {
        SpringApplication.run(EthproApplication.class, args);
        System.out.println("EthproApplication 启动成功!");
    }
    @Override
    protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) {
        return builder.sources(EthproApplication.class);
    }
}
